Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.


QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.

Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

APP(app(app(fold, mul), l), 1) → APP(prod, l)
APP(sum, l) → APP(fold, add)
APP(sum, l) → APP(app(app(fold, add), l), 0)
APP(sum, l) → APP(app(fold, add), l)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(f, x), h)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(f, x)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(fold, f), t)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(app(fold, f), t), app(app(f, x), h))

The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ EdgeDeletionProof

Q DP problem:
The TRS P consists of the following rules:

APP(app(app(fold, mul), l), 1) → APP(prod, l)
APP(sum, l) → APP(fold, add)
APP(sum, l) → APP(app(app(fold, add), l), 0)
APP(sum, l) → APP(app(fold, add), l)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(f, x), h)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(f, x)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(fold, f), t)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(app(fold, f), t), app(app(f, x), h))

The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We deleted some edges using various graph approximations

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ EdgeDeletionProof
QDP
          ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

APP(sum, l) → APP(fold, add)
APP(app(app(fold, mul), l), 1) → APP(prod, l)
APP(sum, l) → APP(app(app(fold, add), l), 0)
APP(sum, l) → APP(app(fold, add), l)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(f, x), h)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(fold, f), t)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(f, x)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(app(fold, f), t), app(app(f, x), h))

The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 4 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ EdgeDeletionProof
        ↳ QDP
          ↳ DependencyGraphProof
QDP

Q DP problem:
The TRS P consists of the following rules:

APP(sum, l) → APP(app(app(fold, add), l), 0)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(f, x), h)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(f, x)
APP(app(app(fold, f), app(app(cons, h), t)), x) → APP(app(app(fold, f), t), app(app(f, x), h))

The TRS R consists of the following rules:

app(app(app(fold, f), nil), x) → x
app(app(app(fold, f), app(app(cons, h), t)), x) → app(app(app(fold, f), t), app(app(f, x), h))
app(sum, l) → app(app(app(fold, add), l), 0)
app(app(app(fold, mul), l), 1) → app(prod, l)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.